import {post} from "@/utils/AxiosRequest";
import {get} from "@/utils/AxiosRequest";

export function loginUser(params) {
  return post("/h5/user/login", params);
}

export function registerUser(params) {
  return post("/h5/user/register", params);
}

export function getUserInfo() {
  return get("/h5/user/currentUser");
}